package com.neouton.crm.screen.service;

import com.neouton.crm.screen.entity.ScreenVO;

import com.neouton.common.util.ResponseAPI;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface IScreenService {

    /**
     * 获取全部数据
     * @param projectId
     * @return
     */
    Map<String, BigDecimal> queryAllByProjectId(Integer projectId);

    /**
     * 查询各供应商采购数据统计
     * @param projectId
     * @return
     */
    Map<String, BigDecimal>  queryPurByProjectIdGroupSupper(Integer projectId);

    /**
     * 查询各供应商采购数据统计
     * @param projectId
     * @return
     */
    Map<String, BigDecimal>  queryPurDataByProjectId(Integer projectId);

    /**
     * 查询各供应商采购数据统计
     * @param projectId
     * @return
     */
    Map<String, BigDecimal>  queryPayData(Integer projectId);

    /**
     * 查询各供应商采购数据统计
     * @param projectId
     * @return
     */
    Map<String, BigDecimal>  queryNoPayData(Integer projectId);

    /**
     * 查询各供应商采购数据统计
     * @param projectId
     * @return
     */
    Map<String, BigDecimal>  queryReceiptRecordData(Integer projectId);


    /**
     * 查询各供应商采购数据统计
     * @param projectId
     * @return
     */
    Map<String, BigDecimal>  queryReceiptRecordDataByUser(Integer projectId);

    List<ScreenVO> getContractInfo(Integer projectId);

    List<ScreenVO> getContractInfoByCustomer(Integer projectId);

    List<ScreenVO> getReimbursementInfo(Integer projectId);

    List<ScreenVO> getRecordInfo(Integer projectId);

    List<ScreenVO> getNotBackRecordInfo(Integer projectId);
}
